package com.centit.jddtgzsz.service.impl;

import java.util.Map;
import com.alibaba.fastjson.JSONArray;
import com.centit.support.database.utils.PageDesc;
 
import com.centit.framework.jdbc.service.BaseEntityManagerImpl;




import com.centit.jddtgzsz.po.JddtGzsz;
import com.centit.jddtgzsz.dao.JddtGzszDao;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.centit.jddtgzsz.service.JddtGzszManager;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import javax.validation.constraints.NotNull;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.transaction.annotation.Propagation;
/**
 * JddtGzsz  Service.
 * create by scaffold 2020-03-10 
 * @author codefan@sina.com
 * T_JDDT_GZSZ【机队动态监控规则设置表】机队动态监控规则设置表   
*/
@Service
public class JddtGzszManagerImpl 
		extends BaseEntityManagerImpl<JddtGzsz,java.lang.String,JddtGzszDao>
	implements JddtGzszManager{

	public static final Log log = LogFactory.getLog(JddtGzszManager.class);

	
	private JddtGzszDao jddtGzszDao ;
	
	@Resource(name = "jddtGzszDao")
    @NotNull
	public void setJddtGzszDao(JddtGzszDao baseDao)
	{
		this.jddtGzszDao = baseDao;
		setBaseDao(this.jddtGzszDao);
	}
	
/*
 	@PostConstruct
    public void init() {
        
    }
 	
 */
	@Override
    @Transactional(propagation=Propagation.REQUIRED) 
	public JSONArray listJddtGzszsAsJson(
            String[] fields,
            Map<String, Object> filterMap, PageDesc pageDesc){
			
		  return null;
	}

	@Override
	public JSONArray getJSONArrayList(Map<String, Object> filterMap, PageDesc pageDesc) {
		// TODO Auto-generated method stub
		return jddtGzszDao.getJSONArrayList(filterMap, pageDesc);
	}
	
}

